using System.Text;
using System;
using System.Collections.Generic;
  using AmazeUI.db;
namespace AmazeUI.Bll.GetModel
{
public class XtErrorJson
{ 
public int Id {get;set;}
public string Name {get;set;}
public string Content {get;set;}
public System.DateTime AddTime {get;set;}
public string Url {get;set;}
public string Controllers {get;set;}
public string Action {get;set;}
public int Userid {get;set;}
public int ExTypeId {get;set;}
public XtErrorJson(){}
public XtErrorJson(XtError model):this()
{
SetModel(model);
}

public void SetModel(XtError model)
{
this.Id=model.Id;
this.Name=model.Name;
this.Content=model.Content;
this.AddTime=model.AddTime;
this.Url=model.Url;
this.Controllers=model.Controllers;
this.Action=model.Action;
this.Userid=model.Userid;
this.ExTypeId=model.ExTypeId;
}


}
}
